<div class="users form">
<?php
    if($this->Session->read('login')=='yes')
    {
        echo $this->Form->create('User'); ?>
	    <fieldset>
		    <legend><?php echo __('Add User'); ?></legend>
	    <?php
		    echo $this->Form->input('UserName');
		    echo $this->Form->input('Password');
		    echo $this->Form->input('FirstName');
		    echo $this->Form->input('LastName');
	    ?>
	    </fieldset>
        <?php echo $this->Form->end(__('Submit')); ?>
    </div>
        
<?php
}else
{
    ?>
    <p>You can't view the content in this page</p>
<?php
}
?>